package com.n9.qq.android.RegisterProxySvcPack;

import com.qq.taf.jce.*;

import java.util.ArrayList;

/**
 * @author ice
 * @since 2019/3/4 9:47
 */
public final class SvcRequestPullGroupMsgSeq extends JceStruct implements Cloneable {
    public byte cVerifyType = 0;
    public int filter;
    public ArrayList vGroupInfo = null;


    public SvcRequestPullGroupMsgSeq() {
        this.filter = MsgFilter.NO_FILTER.value();
    }

    public SvcRequestPullGroupMsgSeq(ArrayList var1, byte var2, int var3) {
        this.filter = MsgFilter.NO_FILTER.value();
        this.vGroupInfo = var1;
        this.cVerifyType = var2;
        this.filter = var3;
    }

    public String className() {
        return "MessageSvcPack.SvcRequestPullGroupMsgSeq";
    }


    @Override
    public void display(StringBuilder var1, int var2) {
        JceDisplayer var3 = new JceDisplayer(var1, var2);
        var3.display(this.vGroupInfo, "vGroupInfo");
        var3.display(this.cVerifyType, "cVerifyType");
        var3.display(this.filter, "filter");
    }

    @Override
    public void displaySimple(StringBuilder var1, int var2) {
        JceDisplayer var3 = new JceDisplayer(var1, var2);
        var3.displaySimple(this.vGroupInfo, true);
        var3.displaySimple(this.cVerifyType, true);
        var3.displaySimple(this.filter, false);
    }

    @Override
    public boolean equals(Object var1) {
        boolean var3 = false;
        boolean var2;
        if (var1 == null) {
            var2 = var3;
        } else {
            SvcRequestPullGroupMsgSeq var4 = (SvcRequestPullGroupMsgSeq)var1;
            var2 = var3;
            if (JceUtil.equals(this.vGroupInfo, var4.vGroupInfo)) {
                var2 = var3;
                if (JceUtil.equals(this.cVerifyType, var4.cVerifyType)) {
                    var2 = var3;
                    if (JceUtil.equals(this.filter, var4.filter)) {
                        var2 = true;
                    }
                }
            }
        }

        return var2;
    }

    public String fullClassName() {
        return "MessageSvcPack.SvcRequestPullGroupMsgSeq";
    }

    public byte getCVerifyType() {
        return this.cVerifyType;
    }

    public int getFilter() {
        return this.filter;
    }

    public ArrayList getVGroupInfo() {
        return this.vGroupInfo;
    }

    @Override
    public int hashCode() {
        try {
            Exception var1 = new Exception("Need define key first!");
            throw var1;
        } catch (Exception var2) {
            var2.printStackTrace();
            return 0;
        }
    }

    @Override
    public void readFrom(JceInputStream var1) {
        if (vGroupInfo == null) {
            vGroupInfo = new ArrayList();
            PullGroupSeqParam var2 = new PullGroupSeqParam();
            vGroupInfo.add(var2);
        }

        this.vGroupInfo = (ArrayList)var1.read(vGroupInfo, 0, true);
        this.cVerifyType = var1.read(this.cVerifyType, 1, false);
        this.filter = var1.read(this.filter, 2, false);
    }

    public void setCVerifyType(byte var1) {
        this.cVerifyType = var1;
    }

    public void setFilter(int var1) {
        this.filter = var1;
    }

    public void setVGroupInfo(ArrayList var1) {
        this.vGroupInfo = var1;
    }

    @Override
    public void writeTo(JceOutputStream var1) {
        var1.write(this.vGroupInfo, 0);
        var1.write(this.cVerifyType, 1);
        var1.write(this.filter, 2);
    }
}
